﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.RBACFile
{
    /// <summary>
    /// 角色权限表
    /// </summary>
    public class RolesPermissions
    {
        /// <summary>
        /// ID (主键，自增，不可为空)
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 角色ID (可空)
        /// </summary>
        public int? RolesId { get; set; }

        /// <summary>
        /// 权限ID (可空)
        /// </summary>
        public int? PermissionsId { get; set; } 
    }
}
